package com.renbang.model.sys;

import java.util.List;

/**
 * 
 * @description SysPower权限bean
 * @author chen
 * @date 2017年3月15日
 */
public class SysPower {
	
 private Integer powerId;//权限id
 private Integer userId;//用户id
 private Integer funId;//功能id
 private String powerBtns;//功能按钮
 /**额外属性**/
 private List <SysFun> rootFuns; 
 
public List<SysFun> getFuns() {
	return rootFuns;
}
public void setFuns(List<SysFun> rootFuns) {
	this.rootFuns = rootFuns;
}
public Integer getPowerId() {
	return powerId;
}
public void setPowerId(Integer powerId) {
	this.powerId = powerId;
}
public Integer getUserId() {
	return userId;
}
public void setUserId(Integer userId) {
	this.userId = userId;
}
public Integer getFunId() {
	return funId;
}
public void setFunId(Integer funId) {
	this.funId = funId;
}

public String getPowerBtns() {
	return powerBtns;
}
public void setPowerBtns(String powerBtns) {
	this.powerBtns = powerBtns;
}
public List<SysFun> getRootFuns() {
	return rootFuns;
}
public void setRootFuns(List<SysFun> rootFuns) {
	this.rootFuns = rootFuns;
}
@Override
public String toString() {
	return "SysPower [powerId=" + powerId + ", userId=" + userId + ", funId="
			+ funId + ", powerBtns=" + powerBtns + ", rootFuns=" + rootFuns
			+ "]";
}
 
}
